package system_districts

// 表名也是cache的tag
var TableName = "system_districts"

// 地域
type SystemDistricts struct {
	Id  int64 `xorm:"pk autoincr"`
	Pid int64 `xorm:"INTEGER null default(0) 'pid'"`

	Country  string `xorm:"varchar(32) notnull default('cn') 'country'"`
	Island   string `xorm:"varchar(64) null 'island'"`
	CityType int    `xorm:"TINYINT notnull default(1) 'city_type'"`

	TitleCn string `xorm:"varchar(64) null 'title_cn'"`
	TitleEn string `xorm:"varchar(64) null 'title_en'"`

	Level int `xorm:"TINYINT notnull default(1) 'level'"`
}
